#!/usr/bin/env bash
#
# Copyright @2020 AI, ZHIHU Inc. (zhihu.com)
#
# @author: lifeiyang <lifeiyang@zhihu.com>
# @date: 2020/03/14
#
source /home/lifeiyang/.zshrc
SELF_DIR=$(cd $(dirname $0);pwd)
cd ${SELF_DIR}
echo `pwd`

syncTime="同步时间: "$(date "+%Y-%m-%d %H:%M:%S")
echo ${syncTime}
echo ${syncTime} > README.md

git add . && git ci -m "daily sync" && git push
echo "finish sync !"

